package org.ehe.erp.domain.product.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ehe.erp.domain.product.CodingRule;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
 * @author :zhangnn
 * @className :CodingRuleVo
 * @description: TODO
 * @date 2025-09-06 14:53:41
 */

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = CodingRule.class)
public class CodingRuleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "规则编号")
    private Long id;

    @ExcelProperty(value = "分类ID")
    private Long categoryId;

    @ExcelProperty(value = "分类名称")
    private String categoryName;

    @ExcelProperty(value = "层级")
    private Integer level;

    @ExcelProperty(value = "前缀")
    private String prefix;

    @ExcelProperty(value = "数字位数")
    private Integer digitLength;

    @ExcelProperty(value = "分隔符")
    private String separatorCode;

    @ExcelProperty(value = "起始数字")
    private Integer startNumber;

    @ExcelProperty(value = "递增步长")
    private Integer incrementStep;

    @ExcelProperty(value = "规则名称")
    private String ruleName;

    @ExcelProperty(value = "规则描述")
    private String ruleDesc;

    @ExcelProperty(value = "状态")
    private Integer status;

    @ExcelProperty(value = "状态名称")
    private String statusName;

    @ExcelProperty(value = "创建时间")
    private Date createTime;

    @ExcelProperty(value = "更新时间")
    private Date updateTime;
}
